package tools

import (
	"crypto/md5"
	"encoding/hex"
)

// md5

func Md5(str string) string {
	data := []byte(str)
	sum := md5.Sum(data)

	return hex.EncodeToString(sum[:])
}
